[release/13.5] Fix DevTunnel health check for auto-selected regions - #19853
Damian Edwards (DamianEdwards) merged 3 commits into
Conversation
|
🚀 Dogfood this PR with:
curl -fsSL https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.sh | bash -s -- 19853Or
iex "& { $(irm https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.ps1) } 19853" |
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
🟢 Approval recommended
The focused fix consistently propagates qualified IDs and includes coverage for startup and health-check paths.
Pull request overview
Backports the DevTunnel region-resolution fix so port and access operations use cluster-qualified tunnel IDs.
Changes:
- Uses IDs returned by tunnel create/show operations.
- Adds regression coverage for auto-selected regions.
- Extends the test client to simulate qualified IDs.
File summaries
| File | Description |
|---|---|
src/Aspire.Hosting.DevTunnels/DevTunnelHealthCheck.cs |
Uses the resolved ID for access checks. |
src/Aspire.Hosting.DevTunnels/DevTunnelResourceBuilderExtensions.cs |
Uses the created tunnel ID for port operations. |
tests/Aspire.Hosting.DevTunnels.Tests/DevTunnelResourceBuilderExtensionsTests.cs |
Adds auto-region regression tests. |
tests/Aspire.Hosting.DevTunnels.Tests/TestDevTunnelClient.cs |
Supports configured created tunnel IDs. |
Review details
- Files reviewed: 4/4 changed files
- Comments generated: 0
- Review effort level: Balanced
💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.
|
Retrying the failed CI jobs for this pull request from the CI run attempt. The rerun is being tracked in the rerun attempt. |
|
Retrying the failed CI jobs for this pull request from the CI run attempt. The rerun is being tracked in the rerun attempt. |
|
Retrying the failed CI jobs for this pull request from the CI run attempt. The rerun is being tracked in the rerun attempt. |
a2f3e8f to
1f2130f
Compare
Tests selector (audit mode)The full test matrix and all jobs still run in audit mode. The tests and jobs below are what selective CI would run under enforcement. 8 / 100 test projects · 2 jobs, from 4 changed files. Selected test projects (8 / 100)
Selected jobs (2)
How these were chosen — grouped by what changed🔧 🔧 🧪 🧪 Job reasons
Selection computed for commit |
|
Retrying the failed CI jobs for this pull request from the CI run attempt. The rerun is being tracked in the rerun attempt. |
0aced06
into
release/13.5
|
✅ No documentation update needed. Step 5 branch taken:
This PR is a backport of #19230 to |
Backport of #19230 to release/13.5
/cc Damian Edwards (@DamianEdwards) Vladyslav Danilchuk (@Vladipz)
Customer Impact
Customers using dev tunnels see errors currently.
Testing
New tests added to cover scenario and agent-led functional testing confirms fix.
Risk
Low.
Regression?
Yes, regressed in 13.3